var ns, app;
var Vheight = window.clientHeight;
app = new Vue({
    el: '#app',
    data: {
    },
    methods: {
      get_data:function(){
          api.toast({
              msg: '刷新成功',
              duration: 2000,
              location: 'bottom'
          });
      },
      open_mail:function(){
        ns.openWin('home_news_mail_frm', '通讯录');
      },
      openWin: function(item, params) {
          var that = this;
          if (item.url == '') {
              return;
          }
          params = params || {
              status: -1
          };
          ns.openWin(item.url, item.name, params);
      },
    }
});
apiready = function() {
    api.parseTapmode();
    ns = window.Foresight.Util;
};
